home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / hysettings.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-10-30  |  1.2 KB  |  50 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef HYSETTINGS_H
  8. #define HYSETTINGS_H
  9.  
  10. #include "ui_hysettingsBase.h"
  11. #include <QSet>
  12. #include <QHash>
  13.  
  14. #include "scribusapi.h"
  15. #include "prefsstructs.h"
  16. class ScribusDoc;
  17.  
  18. class SCRIBUS_API HySettings : public QWidget, Ui::hysettingsBase
  19.     Q_OBJECT
  20.  
  21. public:
  22.     HySettings( QWidget* parent/*, QMap<QString,QString>* langs*/);
  23.     ~HySettings() {};
  24.     void restoreDefaults(struct ApplicationPrefs *prefsData);
  25.     void restoreDefaults(ScribusDoc *prefsData);
  26.     int getWordLen();
  27.     int getMaxCount();
  28.     bool getVerbose();
  29.     bool getInput();
  30.     QString getLanguage();
  31.     QSet<QString> getIgnoreList();
  32.     QHash<QString, QString> getExceptionList();
  33.  
  34. private slots:
  35.     void addToIgnoreList();
  36.     void editIgnoreListEntry();
  37.     void removeIgnoreListEntry();
  38.     void enableIgnoreButtons();
  39.     void addToExceptList();
  40.     void editExceptListEntry();
  41.     void removeExceptListEntry();
  42.     void enableExceptButtons();
  43.  
  44. // protected:
  45. //     QMap<QString,QString> langsMap;
  46. };
  47.  
  48. #endif // HYSETTINGS_H
  49.